home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 7 / Night Owl Shareware (NOPV7)(Night Owl Publisher Inc.)(1992).bin / 038a / bash1_12.arj / BASH1-12.TAR / bash-1.12 / builtins / psize.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1991-07-07  |  389b  |  21 lines

  1. #! /bin/sh
  2. #
  3. # psize.sh -- determine this system's pipe size, and write a define to
  4. #             pipesize.h so ulimit.c can use it.
  5.  
  6. echo "/*"
  7. echo " * pipesize.h"
  8. echo " *"
  9. echo " * This file is automatically generated by psize.sh"
  10. echo " * Do not edit!"
  11. echo " */"
  12. echo ""
  13.  
  14. ./psize.aux 2>/tmp/pipesize | sleep 3
  15.  
  16. echo "#define PIPESIZE `cat /tmp/pipesize`"
  17.  
  18. rm -f /tmp/pipesize
  19.  
  20. exit 0
  21.